package com.pingguopifa.service;

import com.pingguopifa.dao.UserDAO;
import com.pingguopifa.domain.User;


public class UserService {

	private UserDAO userDAO;
	
	public User getUserByUserName(String userName){
		return userDAO.getUserByUsername(userName);
	}
	public User loadUserByUsername(String userName){
		return userDAO.loadUserByUsername(userName);
	}

	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}
	
}
